Think of it as you would when filling up your tank at a gas station. Common sense dictates no open flames.
Handling gas only gets dicey when you have a significant spill. This generates lots of fumes. Gas as a liquid is not as dangerous as one would assume. You can have a stable jar of gas and actually snuff out a lit match in it. DO NOT TRY THIS!!!. I was a very young, ignorant, grossly unsupervised, young lad when I discovered this stupid fact (right after I learned that a Styrofoam cup was the world's worst choice of a container for pouring gas into).
Carl