MULTI-LINE comment (: '<comments>') on SHELL is NOT WORKING AS EXPECTED

: '<<<<<<<line1<<<<<<
<<<line2<<<<

lin3>>>>’
(: ’ ') used for multi-line comment

======In below case the keyword doesn’t used quotes were taking as closing COMMENT========
echo -n " Enter a file / dir name"
read val
if [ -f $val -a -x $val ];then
if [ -x $val ];then
echo “$val is an executable file”
else
echo “$val is not a executable file”
fi
fi

: ’
elif [ -d $val ]; then
echo “$val is a dir”
else
echo “file and directory in this name doesn’t exist”
fi

Please check on your systems
~
~
~

echo -n " Enter a file / dir name"
read val
if [ -f $val -a -x $val ];then
if [ -x $val ];then
echo “$val is an executable file”
else
echo “$val is not a executable file”
fi
fi

<< Block_comment
elif [ -d $val ]; then
echo “$val is a dir”
else
echo “file and directory in this name doesn’t exist”
fi
Block_comment

The above code works for me. I think the : ’ is for command line scripting.