Here is my list which I have already watched and liked. There might also be some non-comedies by accident movies like those are fine too.
It would be nice if the movie included Rock n roll, music, guitar, being in a band or school as a theme. Other recommendations are welcome aswell from different themes.
Back to the future 1-3, Almost Famous, Adventures in Babysitting, Back to School (1986), Airheads (1994), Trainspotting (1996), Waynes World (1992), Waynes World 2 (1993), Weird Science (1985), Thunder Alley (1985), Three OClock High (1987), The Rocker (2008), The School of Rock (2003), The New Guy (2002), The Breakfast Club (1985), Stripes (1981), Summer School (1987), Stand by Me (1986), Sixteen Candles (1984), See No Evil, Hear No Evil (1989), Risky Business (1983), Revenge Of The Nerds (1984), Planes Trains And Automobiles (1987), Napoleon Dynamite (2004), Licorice Pizza (2021), License To Drive (1988), Heathers (1988), Fast Times At Ridgemont High (1982), Everybody Wants Some (2016), Election (1999), Don't Tell Mom The Babysitter's Dead (1991), Detroit Rock City (1999), Dead Poets Society (1989), Dazed and Confused (1993), Crocodile Dundee in Los Angeles (2001), Can't Hardly Wait (1998), Bill and Teds Excellent Adventure (1989), Better Off Dead... (1985), The Dirt (2019), Crocodile Dundee (1986), Grease (1978), Heavy Trip (2018), The Blues Brothers (1980), Crossroads (1986), The Pink Panther 2 (2009), This Is Spinal Tap (1984), Yesterday (2019), The Karate Kids 1-3. Home alone 1-3, 10 Things I Hate About You (1999), Mean Girls (2004), Scott Pilgrim vs. the World (2010), Wham! (2023), American Graffiti (1973), Honey, I Shrunk the Kids (1989), Ferris Bueller’s Day Off (1986).
My favourites from these were Dazed and Confused, Ferris Bueller’s Day Off, Back to the future, Fast Times At Ridgemont High, Crossroads (1986) and The Breakfast Club (1985).
70s and new movies are fine aswell if they are like this newer examples which I have watched include Everybody Wants Some (2016) and Licorice Pizza (2021).