Hello,
Thank you for contacting Rank Math and sorry for the delay in getting back to you.
The Rank Math sitemap file is created dynamically depending on the page/posts that have been set to index. Please edit the pages/posts/attachments that you want to remove from the sitemap and set them to noindex via the Rank Math metabox as shown below:
Looking forward to helping you. Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.