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