perl -pi.bak -e 's/^#.*\n//' <file> [download]
In reply to Re: How do I strip lines prefixed by a by tachyon in thread How do I strip lines prefixed by a "#" by Coplan