The three kinds of comment are specified by regular expressions and auxiliary scanners rather than a context-free grammar:
The auxiliary scanner auxCComment accumulates characters up to and including the next occurrence of the sequence */; auxNewLine was discussed above.