If you do not want comments in the code that you export, IntelliJ shouldn’t export your comments. However, if you want to actually delete comments in a whole project, you can delete the /* x */ comments by using REGEX. For the // comments, you may also be able to use REGEX, but watch out not to delete your whole code while doing so.
For /* x */</p> <!-- /wp:paragraph --><!-- wp:paragraph --> <p>\/*([\s\S]*?*\/)<br />For //</p> <!-- /wp:paragraph --><!-- wp:paragraph --> <p>\/\/.*
sk-vPYv5EmJ9mhAT4ggcoISP4zhREPjwLZ30kMp1ULuK2T3BlbkFJHOHVGTzE_aQKvi7vt6OymjkblqqZBfUqlkxs5Dr-4A