Or just select group of lines you want to comment then use keystroke 'Ctrl+/(forward slash)' and voila, it will comment the selected block's each line with % as one would do individually. To undo I tried but don't know what key stroke can work, so anyone please...