The only time I have been hit by a car while riding was when I was riding on the sidewalk. A driver pulling out of a gas station knocked me sideways onto the pavement. I got up, walked over to the car, and shook the driver's hand through the open window. He thought I was going to slug him. I was probably in shock, but he was more shook up than I. The bike was fine, and I was bruised but OK. And I (re)learned my lesson.

ca 1968: I was in the right shoulder of a two lane road in Damascus MD when a car turned right just in front of me, and I hit him.
ca 1974: On a rural road near Laytonsville MD, someone threw a beer or soda can at me, for no particular reason.
ca 1982: I was in the right lane of a four lane divided road in Four Corners MD, a guy in a pickup truck pulled up next to me screaming, "Use the sidewalk!"
ca 1983: I was riding my moped in right lane of the big loop on the VA side of the Key Bridge. A car changed lanes and knocked me over.
ca 1988: On the bike path near the 17th Street Bridge, I was crossing traffic turning onto the bridge from the GW Parkway. Some woman was looking behind, drove through the crossing and broadsided me. I lifted my legs and rolled over her hood, but the bike's wheels were ruined.