"No person may place or park any bicycle, vehicle, or any other object upon any bikeway or bicycle path or trail, as specified in subdivision (a), which impedes or blocks the normal and reasonable movement of any bicyclist unless the placement or parking is necessary for safe operation or is otherwise in compliance with the law."
https://codes.findlaw.com/ca/vehicle-code/veh-sect-21211/
CVC §21209 says that you can park in a bike lane only if parking is otherwise permitted (e.g. it's a marked parking spot).
https://codes.findlaw.com/ca/vehicle-code/veh-sect-21209/
SF city code also lists it as a separate parking infraction: https://codelibrary.amlegal.com/codes/san_francisco/latest/s...
Checking the DMV handbook, their description is similar. They say "it is illegal to drive in a bicycle lane unless you are parking (where permitted)" - plus turning or entering/exiting the road. [Source: CA Driver's Handbook, pp. 17, emphasis mine]