I would stay in my car for reasons of comfort. The car will attract a little more lightning than you would if you were standing up; but it might (or might not) protect you from said lightning.
Lightning strike locations are psuedo-randomly dispersed. If a thunder storm develops over, say, a 100 square kilometer PERFECTLY FLAT area, and throws out 100 strikes, then the expected strike coverage is 1 strike per sq. kilometer. Given that a strike will occur in that square kilometer, the chances of it striking any given 1m x 1m spot is (1x1)/(1000x1000) = 1E-6 = 0.0001%. Literally and exactly one chance in a million.
But the earth is not flat. It has been shown that taller objects attract more lightning. Taller conductive objects attract lighnting in direct proportion to the area they "protect." For a long slim object, that area is the area covered by a cone, which has its apex at the top of the object and which slants out at a $45^o$ angle in all directions. So, in this example, a 10m tall metal light pole would protect an area of ${(Pi)}{10^2} = 314 m^2$. It chances of getting struck by lightning in this storm would be 314 in a million, or roughly 0.3 in a thousand.
Anything which is fully within the volume of the cone of this light pole is considered protected (though I would not stand RIGHT NEXT to the light pole).
A 10m tall and 100m x 100m warehouse would "protect" an area of about 120mx120m = $14400 m^2$. Its chances of taking that sole lighning bolt are 14400 in a million, or about 14.4 chances in a thousand: 1.44%. Now we are talking about real chances of taking a hit.
Let's go back to you in your car, out in flatland. Assume you are 1.6m tall and your car is about 1.4 m tall x 2m wide x 5m long. For purposes of a lightning strike, you are considered a conductive object. If you are out standing in the rain, like a dummy, you "protect" an area of about $8m^2$. Your car "protects" an area of about 4.8m x 7.8m = about $22m^2$. So, you have about 3 times greater chance of getting hit by lightning in your car.
If hit by lightning out in the open, you are obviously toast. If you are in the car... well... lightning does weird things. It is better than a direct hit to your cranium; but I would definitely not say that being in a car getting hit by lightning is safe. Let's say the path from the roof of your wet car to ground is 1 Ohm, and the path tfrom the roof of your car to ground THROUGH YOU is about 1000000 Ohms (1M Ohm, includes air gap, since your dry-skin body only provides about 20K-30K resistance). Say the lightning strike is 30000 Amps. About 29999.97 amps go through the car structure. About 0.03 amps = 30mA go through you... and you die. Oh yeah, you might not be charred and smoking, but dead nonetheless.
If I had to take a choice between a 35% chance of getting hit in the head by lighning while standing out in a field, or a 100% chance of my car getting hit while I was in it, I think I would take the standing out in the field option.
The best protection would be to lie in a ditch in the field. But that gets you very wet and uncomfortable. (Can you imagine flying down the freeway with your family, and you run into a thunderstorm; and you say, "Hey, honey, lets pull over and go lay out in the ditch in the pouring rain until this is over."?) I like to stay dry, so would take my 22 out of a million shot in the car. Of course, if I was REALLY concerned, I would try to greatly lower those odds by finding a parking spot about 4m out from the base of that 10m tall light pole (or tree or whatever).
EDIT: I miscalculated the area protected by a standing person... fixed.