Not yet. <knock on wood>
I've come close twice, but as a pedestrian. Both times were right-turning cars. The first time I just yelled. The second time I was directly in front of the vehicle (I was in the crosswalk, walking my bike with a flat tire) when the driver started to accelerate. I slammed my hand on the hood. That worked too.
I figure someday I will get hit. It's just playing the odds. I've never been injured in a car accident either, but if I continue to drive, that will happen someday also.