You can comment and uncomment lines of code using &shortcut:CommentByLineComment;.
&shortcut:CommentByLineComment; comments or uncomments the current line or several selected lines with a line comment #.