I know that Marvel Comics, the company, exists within the Marvel universe, and that they publish authorized biographical comics about the "real" superheroes that live in that universe. But the comics we read in our universe contain a lot of information that's not public knowledge. How do those in-universe comics handle that?
I started wondering this after watching Spider-Man: Into the Spider-Verse, in which there's a Spider-Man comic book about Spider-Man, sans costume, discovering his powers. Except... Spider-Man's secret identity is still a secret in that universe.
Has there ever been any canonical explanation for how that would work? Would the Spider-Man comics in the main Marvel universe only contain his superhero antics, avoiding any mention of what he does when he takes off the mask? Would they give him a false, fictionalized secret identity for the sake of telling a good story? Or something else entirely?