Technically, no. One could argue that lying to spare someone's feelings is ok, or a white lie. Can't say I haven't done so, myself, but prefer not to say anything until a more opportune time vs. lying about something; there is no requirement to immediately answer everything, although our culture tends to teach us to do so.
What do you think about that?