Comments added to a Pages document are not extracted. This also applies to documents annotated on iWork.com.
Pages documents with a few comments. The ShareiWork document was commented on iWork.com by two people and then saved as a Pages document.
Support added in r1331640. We now collect the annotations (id -> text) when they occur earlier in the file. When handling the main text, when we reach an annotation reference we output the annotation text for it. The annotation currently comes before the text it annotates, due to the order of the elements, but that could be fixed in future if needed (when we have a better document model)
Looks like the fix doesn't work for iWork.com annotated files. I think the comments are put in an entirely separate .json file in the archive.
Since iWork.com is set to be discontinued, this is lower priority.