20 How to delete lines from file that starts with #?

This will change the file, backup is made to INPUT.txt.bak

sed -i.bak '/^#/d' INPUT.txt