how to save after writing a comment in bash code example
Example 1: bash comment
# This is a Bash comment.
echo "This is Code" # This is an inline Bash comment.
Example 2: how to add comments in terminal ubuntu
#!/bin/bash
# By adding hash(#) before line it will takes it as comment.