fixed bug trying to display * outside of comment; added support for # for comments