Herhangi bir kelime yazın!

"comment out" in Japanese

コメントアウトする

Definition

コードの行やブロックをコメントとして扱い、実行されないようにすること。削除せずに一時的に無効化する際によく使う。

Usage Notes (Japanese)

プログラムを書くときだけに使う表現。「'コメントアウトする'」は、コードを無効化するときに使う。『コメントする』とは異なり、説明を書く意味ではないので注意。

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.

削除しなくてもいいので、とりあえずその行を**コメントアウト**しておいてください。