Any one know of laws on the use of docking lights for night running on Intercoastal?

My biggest risk is unlighted channel markers and dark docks. On a dark night W/O 125 watt Leds I can just barely see both hazards from 50 feet / with lights on I can clearly see them at 200 yards. I can see both banks and and water hazzards.

As soon as an on coming boat is identified I turn them off.

I am posting because a channel marker came out of nowhere a scarred the **** out of me last night

What would a marine patrol say if they stopped me with docking lights on during a night run...

First time post..