Indeed, pycparser does not parse comments, or anything related to the C preprocessor (in a regular C compiler, the preprocessor strips comments before the compiler sees them).
To stop comments from messing your parsing, run the code through the preprocessor first, as suggested in the pycparser README
. To actually meaningfully parse comments (and get their contents), pycparser is not the right tool, unfortunately.