The line ax + by + c = 0 is parallel to y-axis if:

c = 0

a = b

a = 0

b = 0