Every decent Editor supports Regular Expression Search & Replace. So you can simply mark all lines you want to comment out and replace "^" by "#". To remove the comments replace "^#" by "".
That way one can also uncomment parts of the outcommented code again without ending up in a mess of "pseudo comment blocks".