Locally, a gas Service and an electric Service have to stay three-feet away from each other.
I can't say as I've EVER run across the issue.
But then, I work the commercial side of the street.
I'm always surprised about what's gotten by residential inspection.
... and service call 'improvements'...