I'd like to clear some things up. One such non-nonsensical answer is that cars have rubber tires which insulate you from the ground. I believe this contributes little to nothing to the actual reason.
The "correct" answer appears to be because the car acts like a Faraday cage. The metal in the car will shield you from any external electric fields and thus prevent the lightning from traveling within the car.