Please see the work below.
Work Step by Step
We know that in a redox reaction, the oxidizing agent gains one or more electrons. Hence, the oxidation number of the element gaining the electrons should become more negative. In the case of chlorine, the -1 oxidation number is already the most negative stage possible, for the chloride ion cannot accept any more electrons. Hence, hydrochloric acid is not an oxidizing agent.