我确实看过这篇文章Nested comments in Visual C++?,但我不在Windows平台上.
#if 0 /* Giant comment it doesn't matter what I put here */ // it will be ignored forever. #endif
一般来说,回答你的问题;没有办法有复合评论,即
/* /* */ <--- this closes the first /* */ <--- this dangles.