There are two kinds of comments.
• /* text */
A traditional comment: all the text from the ASCII characters /* to the ASCII characters */ is ignored (as in C and C++).
• // text
An end-of-line comment: all the text from the ASCII characters // to the end of the line is ignored (as in C++).
Comment: TraditionalComment EndOfLineCommentTraditionalComment: / * CommentTailEndOfLineComment: / / CharactersInLineoptCommentTail: * CommentTailStar NotStar CommentTailCommentTailStar: / * CommentTailStar NotStarNotSlash CommentTailNotStar: InputCharacter but not * LineTerminatorNotStarNotSlash: InputCharacter but not * or / LineTerminatorCharactersInLine: InputCharacter CharactersInLine InputCharacter ...