multiline comment in bash shell script code example
Example 1: multiline comment in bash
# Just do something like this for multiple line comment
: 'I am the first line and
the second line and
the third line here
'
# Don't forget the : sign
Example 2: linux multiline commet
# if [[ $VAR -gt 10 ]]; then
# echo "Variable is greater than 10."
# fi
Example 3: multiline comment in bash
: << 'comment1'
what ver you want to comment
comment1