// Single-line comment
if (text.charCodeAt(pos + 1) === CharacterCodes.slash) {
while (pos < len) {
if (isLineBreak(text.charCodeAt(pos))) {
break;
}
}
value = text.substring(start, pos);
return token = SyntaxKind.LineCommentTrivia;
}
// Multi-line comment