- Select a block of code in the editor, or position the caret at the line that you're going to comment out.
- On the main menu, choose ReSharper | Edit | Comment With Line Comment, or press Ctrl+/.
- Select a block of code in the editor.
- On the main menu, choose ReSharper | Edit | Comment With Block Comment, or press Ctrl+Shift+/.
The examples below show the results of each action:

