Earth momentum conservation
It is because net torque about centre of sun on earth due to forces by other planets is zero.
Angular momentum is conserved while external force is acting by other planet. It is consider as a system. If we consider it as a system then the entire things will come in that system so, that we can use conservation.