Following his death Tuesday at age 65, Ed Lee was remembered in part for his jokes. Whether the jokes were funny was as clear as anything else in the world of politics.

What Lee told, said Board of Supervisors President London Breed in one of her first remarks as acting mayor, were “perfectly timed corny jokes.”

In 2016, the mayor was rumored to be on a short list for a cabinet post if Hillary Clinton won the presidential election. Lee, at 5-feet-5, said he was “always on some short list.”

That was arguably a better gag than his running joke about the Giants. Over and over during the team’s championship seasons, the mayor claimed to have “Giants fever.”

A lot of people said they had Giants fever then, but Lee said he had been to the hospital and that doctors had provided him with an official diagnosis of it.

Story continues below.

Now Playing:

San Francisco Mayor Ed Lee — the city’s first Asian American mayor — died early Tuesday morning after suffering a heart attack. He was 65.

Media: San Francisco Chronicle

“I have a way of joking,” Lee once told the Commonwealth Club, while describing how he used to tell classmates at Bowdoin College in Maine that he was, in fact, martial artist Bruce Lee’s brother. The college was not then a paragon of diversity.

Lee, who died of an apparent heart attack he suffered while grocery shopping, was known — mostly — for a brand of anecdotes so G-rated that they qualified under the category coined by millennials as “Dad Jokes.”

Occasionally, Lee went off-brand. In 2015, in the midst of a measles outbreak that originated at Disneyland, the unfailingly cheerful mayor told an audience of Fisherman’s Wharf merchants that people “go to Disneyland for measles but come to San Francisco for crabs.”

Steve Rubenstein is a San Francisco Chronicle staff writer. Email: srubenstein@sfchronicle.com