Any number of variables can be declared on the same line, and variables declared on the same line should be related to one another in some way so that the code remains easy to understand.
We call code that's easy to understand "clean code".
How many variables can be declared on the same line?