[CentOS] Adding comments to /etc/sysconfig/iptables

Sun Apr 24 07:30:59 UTC 2011
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr>

Alexander Farber wrote:
<snip>
> Is there a way to add comments to the iptables file?
> A hash mark # does not seem to work.

assuming you are talking about /etc/sysconfig/iptables , hash is indeed 
the comment mark, and works fine.
In my file on this system all comment lines have a hash as first 
character on the line though, so perhaps it doesn't like end-of-line 
comments but only accepts full lines of comment.