"comment out" in Chinese (Simplified)
注释掉
Definition
将一行或一段代码改为注释,使其不再执行,但保留在程序中。程序员常这样做来测试或说明代码片段。
Usage Notes (Chinese (Simplified))
仅用于编程。常说“注释掉一行/一段代码”。不要与单纯“注释/说明”混淆,'comment out'表示让代码暂时不起作用。
Examples
If you want to test the code, just comment out this line.
如果你想测试代码,只需**注释掉**这一行。
You should comment out any function you are not using.
你应该**注释掉**任何没用到的函数。
Remember to comment out the debug statements before release.
在发布前记得**注释掉**调试语句。
Go ahead and comment out the part that's causing errors so we can troubleshoot.
把出错的部分**注释掉**,这样我们好排查问题。
I usually comment out a block when I'm experimenting with new features.
我实验新功能时,通常会把一块代码**注释掉**。
You don’t have to delete it—just comment out that line for now.
你不用删掉,现在只需**注释掉**那一行。