The depth of your ignorance of pain here is something I envy.
I hope you never encounter the blinding pain of sudden, devastating grief, and you never have to find out just how impossible it is to try to rise above anything in that moment, to choose anything in that moment.
You're not even sure your heart is going to remember how to beat because the world as you thought you understood it has just come to a screeching halt. The prospect that the next moment has the audacity to happen, and the one after that--that there's still a world at all now that this person isn't in it--doesn't even make sense.
And somebody on the internet is still going to tell you they know how you feel and you shouldn't choose to take their ignorant platitudes as insensitive.
It tells me everything I need to know that you still think it might be the right course to say this to someone anyway.