I personally do not have any photo comments but I suppose the software can handle it. From
https://github.com/RhetTbull/osxphotos#command-line-referenc... I think it will support exporting XMP metadata files with photo comments. Then from
https://docs.photoprism.app/user-guide/use-cases/apple/ I think PhotoPrism will correctly import descriptions in XMP files.