In which of the following cases would a comma be used before the as if clause? Does this follow the restrictive/non-restrictive rule?
"Hmmm," giggled the girl as if hearing the funniest joke she had ever heard.
He paused for awhile as if he were rearranging his thoughts in his head.
He was holding a jar of bright jelly with pink dots floating through it as if they were curious astronauts in space.