comment: c_comment | line_comment c_comment: qr! /\* # C-Style comments open with a "/*"... (?: # followed by... [^*] # non-"*" characters | \*(?=[^\/]) # or a "*" and a non-slash character )* \*/ # ...and closed by a "*/" !x; line_comment: qr!//[^\n]*!;