如何忽略多行註釋符號內另一個多行註釋?C語言編程 - 多行註釋
說我想要把整個代碼中的註釋,這樣我可以在我的代碼
/* This is my first comment */
printf("\n This is my first print command");
/* This is my second comment */
printf("\n This is my second print command");
測試其他事情如果我做
/*
/* This is my first comment */
printf("\n This is my first print command");
/* This is my second comment */
printf("\n This is my second print command");
*/
這是創建錯誤。
大多數現代IDE都有一些工具可以幫助您進行塊評論,只需單擊一下鼠標即可。正如下面的回答評論所說,你可能不能這樣做。 –
另外,這是不使用多行註釋的好理由。 –