Add is_comment function

is_comment() tests whether or not the first character
of a line is '#'