Comments not showing when PPTX converted to PDF via libreoffice using UnoRuntime

Comments not showing when PPTX converted to PDF via libreoffice using UnoRuntime.
(I tried Libreoffice application directly (without UnoRuntime libs) and the PDF does not show comments). I am using Java 10, LibreOffice 7.1.4 and trying to create a PDF from microsoft PPT.
My PPT contains slides, Notes and comments. Using soffice runtime with java i am converting PPTX to PDF.
My PDF shows slides and notes. But not comments I tried using pdfbox to read comments but in vain.
Does LibreOffice support comments from PPT to PDF?

When you export a presentation via menu:File>Export as PDF… you get an dialog with an option to export the comments too. So yes, there might be some API way of doing this.

Yes, I tried that too.I used LibreOffice app and I checked comments option. The generated PDF file does not show comments. The PPT has2 comments as shown below.

Install a virtual PDF printer and let PowerPoint print to that printer.