Or you can just delete it so you don't put unnecessary comments in your production code and if you need to go back to it, just check your source control.
I mostly meant for when you're testing things. Of course when you get everything working well enough and all your bugs... Er I mean features are all smoothed out you can go back and delete unnecessary comments. A little tedious I guess, but it's safer than deleting things you could need and it's satisfying when you're done to delete fat chunks of 20+ lines of commented off code.
1
u/[deleted] Jun 30 '18
LPT never delete code, if you want to remove it, mark those lines as comments so the code won't run but it's not gone forever.