Question: how to comment out multiple lines in shell script?
Answer: The least surprising completely safe way to insert comments in shell scripts is with # . Stick to that even for multi-line comments. Never attempt to (ab)use : for comments. There is no dedicated multi-line comment mechanism in shell that is analogous to the slash-star /* */ form in C -like languages.