Look at 680.22(C) as referenced in 680.42
The exclusionary "box" is 5 feet horizontally and 12 feet vertically from the closest point of the water.
There is an exception for existing lights and fans that lets you be 5' above the water level vertically but still not over the water.
This is from the handbook