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.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.