In writer, one can insert comments in selected text objects for any purpose, as shown here:
https://help.libreoffice.org/latest/en-US/text/shared/01/04050000.html
If the commented selection is a text, and if it is copied or cut and then pasted in a different location, the comment is preserved. However, if the comment is anchored to a formula object (Math), or an image (e.g. a Bitmap Image, a GDI metafile, etc.) and this object is copied or cut and then pasted, the comment is lost.
Any reason why comments for these objects (and possibly other besides text) are not preserved?
Also, if the (commented) selected text is deleted character by character until it disappears, the comment is preserved and passes to the previous word, or is left alone in an empty line. This can be very confusing for the user (and users editing or reviewing a text). In fact the “comment” feature is very bugged.
Environment:
Ubuntu 25.04
LibreOffice
Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 24; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:25.2.2-0ubuntu1
Calc: threaded