The immediate character is # for Sun compatibility. The line-comment character is | (unless the --bitwise-or option is used). If a # appears at the beginning of a line, it is treated as a comment unless it looks like # line file, in which case it is treated normally.