Fix grammars to remove # inline comments