Lee, a stunned bystander in Tobey Maguire’s trilogy, was a man who ducked falling debris in two of the first films. Spidey had a brief chat with Lee in his third appearance as the hero.
In “The Amazing Spider-Man,”Lee was a librarian who is unaware of a fight behind him. He was then seen in the next film as a graduation guest, who claims to know Peter Parker (Andrew Garfield).
In “Spider-Man: Homecoming”He was Gary, a man who shouted out of a window at Tom Holland’s Spidey.
All of Stan Lee’s Marvel cameos can be viewed here.