https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81582
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If you are preprocessing without -C and without -fdirectives-only, then comments are gone, so you really can't use them to inhibit the warning.