Near shorelines/sea floors is a whole other ball of wax, though, because the terrain can essentially "funnel" waves into giant monstrosities like what happens at Nazare. Depending on the shape of the shoreline I don't believe there is a single "max wave" height, i.e. I believe you can have situations like the Bay of Fundy (that is tides though, not waves) where you can get massive difference in high vs. low tide due to resonance.
TIL that the largest waves in recorded history were up to 500m (!!), generated by a tsunami off the coast of southern Alaska.
Even 20 meters is insane. That's 4-5 double decker buses stacked on top of each other (and probably hits with more force than they would...)
I assume you mean the 1958 Lituya Bay mega tsunami. While extremely impressive, it was quite localized.
The surfing records from Nazare are all under 30 meters, i.e. under 100 feet.
100 meters seems much too high for any non-tsunami wave.
You mixed up feet with meter.