13 of 13 people found this helpful
Derek, a double slash // will do the trick. You can comment out the whole line, or even add a comment to the end of a line.
Perfect! Thanks for your help!
Is it possible to comment multiple lines in one go, without adding double slash to each line?
2 of 2 people found this helpful
I copy and paste into Sublime text editor and select "Java" at the bottom right. Then selecting multiple rows and using "ctrl + /" lets me comment multiple lines in one go.
PS: I know this post is ~2 years but just wanted to reply for anyone who stumbles upon it
I knew this trick, just not use it enough to register it onto my mind. Thank you!
1 of 2 people found this helpful
Use double slash //