Better yet telling them what salary you want and not disclose your previous salary. Don't start you work relationship with a lie.
Employers rarely give a full and true picture of what it's like to work somewhere. It's mostly "everything's great" and "all the people are great" and so on. You might get a bland "we need to work on X" if you press them, but they're very unlikely to be direct about the day-to-day drudgery, dysfunction, etc.
Due to the asymmetrical power relationship of employers/employees, I can't see a real ethical problem with lying in response to a question they shouldn't be asking in the first place.