In this section:
Basics
You can comment or uncomment the current line or selected block of source code.
Commenting feature extends to all supported file types. For the custom file types, you can define line and block comments characters, as described in the section Creating and Registering File Types.
Commenting and uncommenting lines of code
Do one of the following:
- On the main menu, choose .
- Press Ctrl+Slash or Ctrl+NumPad /.
Commenting and uncommenting blocks of code
Block comments do not apply to Python scripts!
To add or remove a block comment, do one of the following:
- On the main menu, choose .
- Press Ctrl+Shift+Slash or Ctrl+Shift+NumPad /.