ReSharper Web Help

To comment or uncomment a block of code with a line comment
  1. Select a block of code in the editor, or position the caret at the line that you're going to comment out.
  2. On the main menu, choose ReSharper | Edit | Comment With Line Comment, or press Ctrl+/.
To comment or uncomment a block of code with a block comment
  1. Select a block of code in the editor.
  2. On the main menu, choose ReSharper | Edit | Comment With Block Comment, or press Ctrl+Shift+/.

The examples below show the results of each action:

 Note

If no selection is made, the opening block comment /* and the closing block comment */ are inserted directly before and directly after the caret position.

See Also

Procedures