A piece of code with a lot of swear words for variable names but no comments at all would be an extreme example.
I think that's a very safe assumption. People don't generally use profanity for actual code (variable or function names etc.).