It's defined in PGbasicmacros.pl which is the largest of the macro files loaded by PGstandard.pl.
Few PG functions will work before loadMacros();
I'm used to placing the COMMENT() as the last item in the problem, just
above ENDDOCUMENT(); but that isn't necessary.