Handle shell comments in AT_CHECK.