Added error tolerance handling for quote signs like ' as comment.