Is there a simple way to play only the melody?

Sometimes I’d like to check only my melody and I already inserted chords as well. Can I play only the melody type without deleting the chords?