It happened at the corner of Hillside Avenue and 150th Street in the Jamaica section late Saturday afternoon.
Fire officials say flames gutted the basement and heavy smoked filled the upper floors.
Witnesses say the lights flickered on and off just before the manhole exploded.
Utility crews were called in to fix the problem.
Three people suffered minor injuries.