How is FreeRTOS Core documentation generated?

It seems that most of reference manual is in sync with main branch, but for instance vQueueUnregisterQueue.html documentation is different than the one that can be found in public github repo.

It seems that the comment is excluded from doc generation?

Yes correct, docs are not directly generated from the code.