Not trying to be smart about it, but if you use Sublime Text for your editor, the steps are:
- Select the block
- cmd+/ on Mac or ctrl+/ on Linux & Windows
- Profit
I'd imagine that other editors have similar functionality too. Which one are you using? I'd be happy to do some digging.