Why don't they just recognise a standard C++-style comment, i.e.

    // This is a comment
    void nop() {};