Chancellor of the Exchequer Jeremy Hunt has said he is comfortable with a recession if it brings inflation under control.