SAN FRANCISCO — Cars traveling on San Francisco’s famously crooked Lombard Street should face tolls to ease crushing congestion generated by the millions of tourists who visit it annually, a city supervisor said Thursday.

Supervisor Mark Farrell made his proposal after a transportation authority report recommended studying the idea because of lines of vehicles that often stretch three blocks as motorists wait to drive down the curvy, 600-foot street in a residential neighborhood.

The street attracts about 2 million tourists a year, with up to 17,000 people visiting each weekend by car or on foot during busy summer weekends.

“There’s people climbing on roofs to take selfies, they’re walking down the middle of the street. They’re standing right at the bottom trying to get a selfie looking up the street,” said Jess Montejano, a spokesman for Farrell.

The San Francisco County Transportation Authority report envisions an electronic system to collect tolls and keep track of cars that have made reservations to travel Lombard Street.