lol good one
Wait, are you a chicken? Is the classic galline joke not funny to you because you can't relate to a bird?
When you talk about finding that xkcd funny because you could relate its situation to a personal experience, I feel that was evoked from the feeling of nostalgia/coincidence; that certainly can be funny, but it's definitely not a joke.
Take the "people under the orange sun/red sun" joke from My Three Suns[0] (Futurama S01E07, 1999): it's not funny just because it's a callback to the same joke in Homer and Apu[1] (The Simpsons S05E13, 1994); or because it's satirizing the derivative "white people/black people" comedy routines (e.g. Eddie Griffin[2]) inspired by the set from Richard Pryor: Live in Concert[3] (1979).
It's funny because the comedian walks in a funny way, and talks in a silly voice. Very few people I know would walk & talk like this, yet (even without being able to relate to it) I can enjoy its humour. The multi-layered reference make it a deep joke, and the timing/acting/context make it a good joke.
My issue with xkcd is that it only uses the reference part, seeing that many great jokes include callbacks to other jokes, but missing the "being funny" basic requirement of a joke.
[0]: https://youtu.be/EZe7z73jKj8 [1]: https://youtu.be/L104LViQeIw [2]: https://youtu.be/o_RZusRfuw4 [3]: https://youtu.be/RL8Rru-lFmg