Not to the same extend as hydrogen, not even close. Hydrogen is ridiculously volatile. And when it goes boom, it goes boom. Gasoline can burn violently, but it won't really explode under any normal use circumstances. It's not even that easy to light on fire.TBH, batteries and gasoline are also explosion hazards.