Answer the question
In order to leave comments, you need to log in
How to comment out multiple lines of code with a single line "//"?
I just got fed up that if I commented out a whole block, and then I needed to uncomment something, I had to uncomment everything, then leave something in the middle and re-comment the upper and lower parts.
Answer the question
In order to leave comments, you need to log in
Highlight the lines you want to comment out and press "Toggle Line Comment"
Similarly to uncomment
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question