I did the JMT last year and left my car there for 3 weeks. I parked below the parking lot, in the dirt, off the side of the road. I had no issues. Clean out your car of items that smell. We also left a trip plan and photo in the car visor in case they (officials) needed to find us.
Have fun, it was a great hike.
Scott