Flashpoint of gasoline is about 300 degrees C, while diesel is about 200 degrees C. I dont think it is likely, and i have never heard of a gas tank exploding due to over heating in the sun... but that of course doesn't mean it can never happen?!