If $(A,B)$ is normal (perpendicular) to the line, then any vector perpendicular to $(A,B)$ is parallel to the line, and this is achieved by setting the scalar product to zero.
Another cruder way of seeing this is by some calculation as follows:
Suppose first that $B\
eq 0$ so that $y=-\frac AB x-\frac CB$
The gradient of this line is $-\frac AB$
The equation of the line through the origin having this gradient is $y=-\frac AB x$ and this is parallel to the original line.
This equation can be rewritten $Ax+By=0$ and $(\alpha,\beta)$ lies on the line when $A\alpha+B\beta=0$. This formulation also works when $B=0$ as you can check.