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 you don’t see checkboxes next to the songs, choose Music > Preferences, click General, then make sure “Songs list checkboxes” is selected. See Change General preferences.
Important: Deselecting a song’s checkbox removes the checkmark from the song in all playlists.