How can I filter comments per user?

Hello,

We are working with a client who brought up an interesting request to us. The request is "Shadowbanning" a user for comments.

Basically, if they select to shadowban User X, their comments will not appear to everyone else on the website, but User X still appears to see the comment.

I have looked over the WordPress documentation and do not see a hook to filter comments by data, such as the User ID who posted.

Do you have any insight on a function, hook, or plugin that would help us accomplish this?