parser fix: support comments in scopes