The premise is false. The Pacific Ocean—Earth's largest ocean at 165.25M km²—directly borders:
It touches more national coastlines than any other ocean. The confusion may stem from the Pacific's vast open-ocean expanses (e.g., Point Nemo, the oceanic pole of inaccessibility), but its margins are intensely continental.