Using xml Syntax Highlighting
<w:commentRangeStart w:id="0"/>
<w:r>
<w:t xml:space="preserve">mouse
</w:t>
</w:r>
<w:commentRangeEnd w:id="0"/>
<w:r >
<w:rPr>
<w:rStyle w:val="CommentReference"/>
</w:rPr>
<w:commentReference w:id="0"/>
</w:r>
Parsed in 0.001 seconds, using
GeSHi 1.0.8.4
For a given comment, the ID is present on each of w:commentRangeStart, w:commentRangeEnd, w:commentReference
Use that ID to get the corresponding comment from the comments part.
CommentsPart doesn't currently have a method getCommentByID, so you have to iterate through them yourself.
If you'd like to contrib that simple method, I'd be happy to add it to docx4j,