added ignoring end of line comments and ignore block comments