It is good idea to touch a metal pole or conductor before filling the car with gas because of danger conditions generated while filling which because of the static discharge of current causing spark.
Explanation:
The static discharge of current can be passed while filling up the car with gas which will cause generation of electricity and hence the spark is ignited which can be fatal due to the combustion of the gas.