Prevent a song from playing in Music on Mac
You can set Music to ignore certain songs in your library and never play them.
In the Music app on your Mac, click Songs below Library in the sidebar.
Deselect the checkbox next to the song.
If checkboxes to the left of the song titles aren’t displayed, choose Music > Settings, click General, then make sure “Songs list checkboxes” is selected. See Change General settings.
Important: Deselecting a song’s checkbox removes the checkmark from the song in all playlists.