Ted would have returned Marlene's hug and told her that as soon as she's better, they're going to have a waffle party. (He also would have been tempted to ask about this secret she's promised to tell him but wouldn't have because it didn't seem like the right time)