Hermione rubbed his back in slow circles, still rocking on her feet, just letting him get it out. She really didn't know what to say now. Sure, she had lost loved ones, but it was never the same. And not to mention the whole things was so new to Neville. She wished she could make a soup or potion that would make him actually feel better, but knew better.
When he calmed a little bit, Hermione smoothed his hair again, "Do you want to sit somewhere a little more comfortable? Maybe talk, tell me about it? Or just sit if that's what you want." Again, she sounded like an idiot.