Use sed to quickly remove comment lines in linux text files.

# If comment starts with #
sed '/^\#/d' myFile > tt 
mv tt myFile