On my Mac running macOS Monterey (12.3.1), the Messages icon in the dock is showing a badge with a count of unread messages in the high double digits. (This is an accurate count of old messages that I've never actually individually opened, such as 2FA verification code messages from numerous sites.)
What's the fastest way to mark all of those messages as read, thereby clearing the badge?