Enable comments for certain items

Hi, all. I’m trying to figure out a way to enable comments for only certain items. It could be based on a specific item type or on a list of specific identifiers. I’ve tried out some of the comment plugins like Commenting and Disqus Engage, but they all seem to take an all-or-nothing approach: either comments are turned on for all collection and item records or the comments are disabled for everything. Does anyone have any advice for how to enable comments based on set parameters?

Thank you!