Comments

The comment character # may appear almost anywhere in a command line, and gnuplot will ignore the rest of that line. A # does not have this effect inside a quoted string. Note that if a commented line ends in '2#2' then the subsequent line is also treated as part of the comment.

See also set datafile commentschars (p. [*]) for specifying a comment character for data files.