Comments are done in BASH and most other shells by placing a ‘#’ mark at the beginning of a line. To create a multi-line comment, or to comment out an entire block of code, you can use the following HERE DOCUMENT feature.
: << '--COMMENT--'
comment line 1
comment line 2
comment line n
--COMMENT--