Bash does not have an ‘easy’ way to comment out blocks of code – but this is simple enough.
At the beginning of the block you wish to comment out put:
: <<'QWERTY' and at the end of the block put: QWERTY I've used 'QWERTY' as it should be a string of characters which is not used in you code - adjust as needed.