#if 0 … #endif 教程出处:菜鸟教程 c++注释 功能说明: 可嵌套使用的注释功能 使用#if 1执行代码 使用#if 0屏蔽代码 #if后可以是任意条件语句代码示例: #if condition code1 #else code2 #endif //用注释的方式完成选择,用于调试代码