def is_comment(source_str, file_ext):
	"""Returns True if the line appears to start with a comment, False otherwise."""
	if file_ext in ['.c', '.cpp', '.cxx', '.h', '.m', '.java', '.rs']:
		if source_str.find('//') == 0 or source_str.find('/*') == 0:
			return True
	elif file_ext in ['.py']:
		if source_str.find('#') == 0:
			return True
	elif file_ext in ['.asm']:
		if source_str.find(';') == 0:
			return True
	return False