Spark surpression
If the pipe is made of metal and connected to the fuel tank then there's no chance of a spark.
Fuel tanks also contain saturated vapor and/or are purged with something like nitrogen to ensure that combustion of vapor cannot take place if a spark occurs.