The JetBrains Guide is shutting down on March 30, 2026. more...

Comment Out Code

Quickly comment/uncomment blocks and lines.

In JetBrains IDEs, you can comment and uncomment blocks of code with ⌘⇧/ (macOS) / Ctrl+Shift+/ ( Windows/Linux). To do the same for lines, use ⌘/ (macOS) / Ctrl+/ (Windows/Linux).

Related Resources

New live templates for main methods
New live templates for main methods
Create an instance main method using a live template.
Live templates for simple IO
Live templates for simple IO
Add simple IO methods using live templates.
Adding Azure Functions to the Project
Adding Azure Functions to the Project
Implement HTTP, Timer, and Queue triggers