Be polite. Don’t make assumptions. Remember that she doesn’t owe you a response.
Don’t think of it as hitting on someone. That has an end-goal in mind. Just say something nice and leave it at that. If she wants to continue the conversation, she will. Otherwise, move along.