Just the plywood underlayment. Not through holes.
The trick is to make the shingles hot enough to kill the moss but
not hot enough to unduly shorten the life of the shingles.
I have to be more literal.
Maybe reducing attic ventilation will help, over time.
BTW, darker shingles should work better at preventing moss because they will absorb more light and so be hotter, on average.