Revert #18398 - return resolved commentIds with getDocument() GitOrigin-RevId: c5d2dd91d02d88029eb2702d73ac37cb8dbca32c