Take the comment character into account.