Jin could still be alive. Since the date on his grave was the day Oceanic crashed, he could still be on the island, or faked his death for some reason, and Sun was just keeping up appearances by visiting his grave.
Alright, maybe it's a stretch, but I love Jin