It is unlawful for a car to try to share a lane with a motorcycle.

Motorcycle operators have the right to use a complete traffic lane. Two motorcyclists may share a lane, but a car should never try to share a lane with a motorcycle.
DMV Writen Test