Hello, let's see if this helps you. If you wear grandfather shoes when rubbing them for the mat and pedals, salts of the car and the current punch. <-Calzado with rubber sole avoids this.
The spark can reach 10,000 volts but with minimum amperage and commercial fuel for vehicles is not imflamable enough. If it is Cirerto that better prebenir than to cure, so in the gas stations you can read that the lights must be turned off, and not use the mobile phone.
And answering your question, static electricity cannot affect your car at all. If a bulb is melted or anything, it has no relationship with the static.