We consider continuous-state and continuous-time control problems where the admissible trajectories of the system are constrained to remain on a network. A notion of viscosity solution of Hamilton-Jacobi equations on the network has been proposed in earlier articles. Here, we propose a simple proof of a comparison principle based on arguments from the theory of optimal control. We also discuss stability of viscosity solutions.