

Read "$x=0$ or $y=0 $" as $x=0\cup y=0$
I don't understand the section of the solution highlighted in green.
For instance if: $f(x)=e^{-1/x^2}$ for $x\neq0$
and $f(0)=0 $
I cannot just say $f(0)=0 \implies f'(0)=0 \implies f$ is differentiable at $0$
It has to be shown via the definition of the derivative. So why in this case does the author take such a simplistic approach?
The meaning is that for $x=0$ and every $y$, you have $f(x,y)=0$, i.e. for $x=0$ the induced function on $y$ is constant, thus differentiable. The same goes for $y=0$.