Question: how far does electricity travel when lightning strikes the ocean?
Answer: In a thunderstorm, being totally immersed in sea water is often a better bet that hiding out on your boat or surfboard, even with the chance of sharks! Basic principles suggest that the answer is 'very close' – within maybe tens of metres – so long as you are totally immersed in the water when the lightning strikes.