Several years ago I run one of my previous bikes (2004 BMW R1200C Montauk) dry. Fortunately it was ~ 1000 yards away from a petrol station.
the Wifey and I pushed the bike at the slight incline to fill it up. The incline was insignificant while riding, but rather meaningful while walking the bike...
I run out of gas twice: the first and the last time. Since then, I ALWAYS top off between 1/2 and 1/4 to empty.
So far, so good.
Mind you, our rides are between 75-175 miles and in the known topography, most of the time. It is pure leisure riding: no bad weather, no rush hour, daytime most of the time, avoiding riding after 4 PM Nov-Jan (white tail deer rut season in Texas Hill Country).