ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Comment and uncomment code

Last modified: 21 July 2022

ReSharper | Edit | Comment With Line/Block Comment

Ctrl+Alt+//Ctrl+Shift+/

ReSharper_LineComment/ReSharper_BlockComment

With ReSharper, a single keystroke is enough to comment or uncomment code.

This feature is supported in the following languages and technologies:

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by language section.