The conditions for ax+by+c=0 to be a linear equation in two variables (x,y) are
b can be 0 but not a
a can be zero but not b
a=0 and b=0
a≠0 and b≠0
Condition is that both a and b are not equal to 0. i.e a≠0 and b≠0