The Last of Us was not a comic originally. It was first developed as a video game, which gained significant popularity and later inspired other related media, but the comic came later.
It depends on what you mean by 'true story'. If you're asking if it's based on real events, the answer is no. It might draw inspiration from various sources, but it's likely fictional.
In most cases, Yara is likely a fictional story. However, it could draw inspiration from real-life elements or themes and present them in a creative way.