-P

In z/OS® XL C/C++, the -P option preprocesses the source files the same way as the -E option except that it removes the line number markers.

The -P option is still available in Open XL C/C++ for z/OS, but requires to be used in combination with -E and the output is written to stdout instead of the .i file.