Hi and welcome to WordPress Core Trac!
This problem would fit better on the support forums, and I found a related topic there.
https://wordpress.org/support/topic/unwanted-comments-on-image-attachment-pages/
You have attachment pages enabled, and at least some of those have an active comments form.
Example: https://www.maxsharam.com/index.php/thespian-max/screen_test-3/
Core has created one way to remove attachment pages in #57913. Another way to remove those pages is to use a plugin such as Attachment Pages Redirect or Yoast SEO.
If you only wish to remove the comments forms from those pages, you could try one of these:
I have wanted comments off by default on attachment pages, which might be done in ticket:58375.
Because this issue is not a Core bug, 'invalid' is the most appropriate resolution. In case some of the information in your second ticket was sensitive, I chose to delete the ticket instead of closing it as a duplicate.