func lexLineComment(x *Lexer) stateFn {
	// Ignore the preceding "//" characters.
	x.ignore()
	for {
		ch := x.next()
		if ch == utf8.RuneError {
			return x.error("error parsing rune")
		}
		if isEndOfLine(ch) || ch == eof {
			x.backup()
			break
		}
	}
	x.emit(IonCommentLine)
	return lexValue
}
// lexLineComment scans a comment while parsing values. The comment is
// terminated by a newline.  lexValue is returned.
lexLineComment scans a comment while parsing values. The comment is
terminated by a newline.  lexValue is returned.
// lexLineComment scans a comment while parsing values . The comment is // terminated by a newline . lexValue is returned .
func lexLineComment(x *Lexer) stateFn {
	x.ignore()
	for {
		ch := x.next()
		if ch == utf8.RuneError {
			return x.error("error parsing rune")
		}
		if isEndOfLine(ch) || ch == eof {
			x.backup()
			break
		}
	}
	x.emit(IonCommentLine)
	return lexValue
}
func lexLineComment ( x * Lexer ) stateFn { x . ignore ( ) for { ch := x . next ( ) if ch == utf8 . RuneError { return x . error ( " " ) } if isEndOfLine ( ch ) || ch == eof { x . backup ( ) break } } x . emit ( IonCommentLine ) return lexValue }
lexLineComment scans a comment while parsing values.
lexLineComment scans a comment while parsing values .
// Ignore the preceding "//" characters.